package org.boyan.modules.config.b;

import java.util.HashMap;
import java.util.Map;

/**
 * @author: zhuxiaobao
 * @time: 2021/9/24 17:34
 */

public class e {
    protected static Map<String, String> a = new HashMap<>();

    static {
        a.put("class", "clazz");
    }

    private static String a(String paramString, int paramInt) {
        String str = paramString;
        for (String s : a.keySet()) {
            String str1 = String.valueOf(s);
            String str2 = String.valueOf(a.get(str1));
            if (paramInt == 1) {
                str = paramString.replaceAll(str1, str2);
                continue;
            }
            if (paramInt == 2) {
                str = paramString.replaceAll(str2, str1);
            }
        }
        return str;
    }
}